{% extends "layout.html" %}
{% block content %}
    <h2>修改密码</h2>
    <div class="row">
      <div class="col-md-12 col-md-offset-5">
        <div class="x_panel tops">
          <div class="x_content">

            <form class="form-horizontal form-label-left" novalidate action="" method="post" style="margin-left: 300px">

              <div class="item form-group ">
                <label for="oldpassword" class="control-label col-md-3">旧密码 <span class="required">*</span></label>
                <div class="col-md-8 col-sm-10 col-xs-12">
                  <input id="oldpassword" type="password" name="oldpassword" class="form-control col-md-7 col-xs-12" placeholder="输入密码" required="required">
                </div>
              </div>
              <div class="item form-group">
                <label for="newpassword" class="control-label col-md-3">密码 <span class="required">*</span></label>
                <div class="col-md-8 col-sm-10 col-xs-12">
                  <input id="newpassword" type="password" name="newpassword" class="form-control col-md-7 col-xs-12" placeholder="输入密码" required="required">
                </div>
              </div>
              <div class="item form-group">
                <label for="checkpass" class="control-label col-md-3 col-sm-3 col-xs-12">确认密码 <span class="required">*</span></label>
                <div class="col-md-8 col-sm-10 col-xs-12">
                  <input id="checkpass" type="password" name="checkpass" class="form-control col-md-7 col-xs-12" placeholder="确认密码" required="required">
                </div>
              </div>

              <div class="ln_solid"></div>
              <div class="form-group">
                <div class="col-md-6 col-md-offset-3">
{#                  <button type="reset" class="btn btn-primary">重置</button>#}
                  <button id="updatepass" type="button" class="btn btn-success">保存</button>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
    </div>

{% endblock %}
{% block jss %}
    <!-- cuser -->
    <script src="/static/js/upass.js"></script>
    <!-- sweetalert -->
{#    <script src="/static/js/sweetalert.min.js"></script>#}
{% endblock %}